From: Glenn Morris Date: Fri, 11 Dec 2009 01:46:24 +0000 (+0000) Subject: (safe-pos-list): Define for compiler. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~8968 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=dd508d11764b756afdfcd8d9909047286d9996ae;p=emacs.git (safe-pos-list): Define for compiler. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ac6fa70cf9c..fb8e742b077 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2009-12-11 Glenn Morris + * progmodes/cc-engine.el (safe-pos-list): Define for compiler. + * mail/emacsbug.el: No longer require sendmail. Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174) (report-emacs-bug-orig-text): Doc fix. diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index 27118620acd..15cef111c17 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el @@ -3743,6 +3743,8 @@ comment at the start of cc-engine.el for more info." (goto-char bound)) nil))) +(defvar safe-pos-list) ; bound in c-syntactic-skip-backward + (defsubst c-ssb-lit-begin () ;; Return the start of the literal point is in, or nil. ;; We read and write the variables `safe-pos', `safe-pos-list', `state' @@ -3756,7 +3758,7 @@ comment at the start of cc-engine.el for more info." ;; ;; FIXME: Consult `syntax-ppss' here if our cache doesn't give a good ;; position. - + (while (and safe-pos-list (> (car safe-pos-list) (point))) (setq safe-pos-list (cdr safe-pos-list)))